package com.kgc.remote;

import com.kgc.pojo.User;
import com.kgc.util.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value = "qg-user-provider")
public interface UserRemote {
    @RequestMapping("/user/userLoginByPhone")
    User longByPhone(@RequestParam String userName, @RequestParam String password);
}
